﻿using System.Collections;
using System.Collections.Generic;
using System;
namespace Project.Domain.Entities
{
    public class Match
    {
        public int MatchId { get; set; }       
        public decimal HomeScore { get; set; }
        public decimal AwayScore { get; set; }
        public int HomeTeamId { get; set; }
        public int AwayTeamId { get; set; }
        public int LeagueId { get; set; }
        public int IsPlay { get; set; }
        public bool Status { get; set; }
        public DateTime CreatedTime { get; set; }
        public string TimePlay { get; set; }
        public DateTime StartTime { get; set; }
        public DateTime EndTime { get; set; }
        public virtual ICollection<Bet> Bets { get; set; }
        public virtual SoccerTeam HomeTeam { get; set; }
        public virtual SoccerTeam AwayTeam { get; set; }
        public virtual League League { get; set; }        
    }
}